import request from '@/utils/request'
//查询职业等级列表
export function getList(query) {
  return request({
    url: '/app/hps/enroll/skill/list',
    method: 'get',
	params: query
  })
}

//查询
export function skillInfo(id) {
  return request({
    url: '/app/hps/enroll/skill/'+id,
    method: 'get',
  })
}

//报名缴费
export function submitApply(query) {
  return request({
    url: '/app/hps/enroll/skill/submitApply',
    method: 'post',
	data:query
  })
}

//取消报名
export function cancelApply(query) {
  return request({
    url: '/app/hps/enroll/skill/cancelApply',
    method: 'post',
	data:query
  })
}


//报名列表记录
export function listRecord(query) {
  return request({
    url: '/app/hps/enroll/skill/listRecord',
    method: 'get',
	params:query
  })
}


//报名详情记录
export function applyDetails(id) {
  return request({
    url: '/app/hps/enroll/skill/applyDetails/'+id,
    method: 'get',
  })
}
